package com.bootdo.order.service;

import com.bootdo.order.domain.OrderPayDO;
import com.bootdo.order.domain.RecoverDO;
import com.bootdo.payee.domain.PayeeAgentDO;
import com.bootdo.payee.domain.PayeeDO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Desc
 * @date 2019/12/10
 * ${tags}
 */
@Service
public interface OrderPayeeService {

    List<PayeeDO> findPayee(Long userId);
    List<PayeeAgentDO> findAgent();

    List<OrderPayDO> list(Map<String, Object> map);
    int count(Map<String, Object> map);
    int edit(OrderPayDO orderPay);

    int recoverSave(RecoverDO recover);

    OrderPayDO get(Long id);
}
